import request from '@/utils/request'
// 与brand相关的异步请求
export function search(data) {
  return request({
    url: 'brand/search',
    method: 'post',
    data
  })
}
export function save(data) {
    return request({
      url: 'brand/save',
      method: 'post',
      data
    })
  }
  export function del(data) {
    return request({
      url: 'brand/delOne',
      method: 'post',
      data
    })
  }
  export function edit(data) {
    return request({
      url: 'brand/updata',
      method: 'post',
      data
    })
  }
  //批量删除
  export function delAll(data) {
    return request({
      url: 'brand/delByIds',
      method: 'post',
      data
    })
  }